#!/bin/sh

adduser -h "/var/samba-user-files/$1" -D "$1"
echo -e "$2\n$2" | smbpasswd -a "$1"